/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.tianyun.cloud.security.server.spring;

import org.springframework.web.server.ServerWebExchange;

/**
 * 简单的实现
 *
 * @auther ebert_chan
 */
public class SimpleGatewaySecurityWebExchange implements GatewaySecurityWebExchange {

    private ServerWebExchange delegate;

    public SimpleGatewaySecurityWebExchange(ServerWebExchange delegate) {
        this.delegate = delegate;
    }

    /*
     * @see org.tianyun.cloud.security.server.spring.GatewaySecurityWebExchange#delegate()
     */
    @Override
    public ServerWebExchange delegate() {
        return delegate;
    }

}
